﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace MvcApplication.CommonWebApi.Domain
{
    public class Script
    {
        public string CommonId { get; set; }
        /// <summary>
        /// 数据库链接串id
        /// </summary>
        public int? ConnId { get; set; }

        public bool UseDataSet { get; set; }
        /// <summary>
        /// 脚本内容
        /// </summary>
        public string Text { get; set; }

        [XmlArray("Params"), XmlArrayItem("add")]
        public List<ScriptParam> Params { get; set; }

        [XmlIgnore]
        public ConnInfo ConnInfo { get; set; }


    }
}
